package com.leo.nacos;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author liusl
 * @date 2019/1/9-16:10
 */
@SpringBootApplication
@NacosPropertySource(dataId = "example", autoRefreshed = true)
public class NacosApplaication {

    public static void main(String[] args) {
        SpringApplication.run(NacosApplaication.class, args);
    }
}
